package com.bestcem.xm.member.controller.vo;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 示例服务
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/8/18
 */

@Getter
@Setter
@ToString
public class SourceCardVO {

    private String id;

    @JsonProperty(value = "m_data")
    private JSONObject data;

    private String mid;

    @JsonProperty("mtype")
    private Integer mType;

    private String orgId;

    private Integer source;

    /**
     * 编号
     */
    @JsonProperty("cardNo")
    private String serial;

    /**
     * 创建时间
     */
    @JsonProperty("createdDT")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    protected Date createTime;

    /**
     * 修改时间
     */
    @JsonProperty("updatedDT")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    protected Date updateTime;
}
